<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>事件基本使用</title>
    <!--    引入Vue-->
    <script src="../../static/js/vue.js"></script>
</head>
<body>
<!--装备好一个容器-->
<div id="root">
    <h2>欢迎来到{{name}}学习</h2>
    <button v-on:click="showinfo(1,$event)">点我提示信息1</button>
    <button @click="showinfo(2,$event)">点我提示信息2</button>
</div>
</body>
</html>
<script src="index.js"></script>
